Guild Wars Forums - GW Guru
 
 

Go Back   Guild Wars Forums - GW Guru > The Hall of Knowledge > The Campfire

Notices

Reply
 
Thread Tools Display Modes
Old Apr 11, 2008, 06:23 AM // 06:23   #1
Site Contributor
 
Join Date: Dec 2004
Advertisement

Disable Ads
Default NEW! gwBBCode Tutorial

A big thanks to the gwBBCode team who has written this code for all the Guild Wars websites out there. If you wish to be able to use this syntax on your forum or website, gwBBCode is free and open source so come get it at GWShack.us

----------------------------------------------------------------------



gwBBCode Tutorial


How to show a single skill

To display a skill you need to encase its name in square brackets "[" and "]".
For example the skill Shock would be represented by
[pre][Shock][/pre] => [Shock]
If you want to show the skill name instead of its icon, put a second "[" before the name
[pre][[Shock][/pre] => [[Shock]
If you want to show a skill effect adjusted to an attribute value, include "@" after skill name and then a number
[pre][[email protected]][/pre] => [[email protected]] here we have the skill with 8 in Air Magic
Tip: case and punctuation don't matter in skill names, and you can use some abbreviations
[pre]["You're All Alone!"][/pre] = [pre][youre all alone][/pre] = [pre][You're all ALONE!!!][/pre] => ["You're All Alone!"]
[pre][Word of Healing][/pre] = [pre][WoH][/pre] = [pre][woh][/pre] => [woh]



How to write a build

The simpler way is to get its template code from the game, then use it in one of these ways:
[pre][Shock Warr;OQYTgw4K5QrSFqM9cOtrCA][/pre] = [pre][build=Shock Warr;OQYTgw4K5QrSFqM9cOtrCA][/pre] ~= [pre][build=OQYTgw4K5QrSFqM9cOtrCA][/pre] =>
[Shock Warr;OQYTgw4K5QrSFqM9cOtrCA]

But if you want to write a build from scratch, here is how! A build consists of an opening tag [pre][build][/pre] in which you can specify details (see below), then a list of skills encased in brackets, and an ending tag [pre][/build][/pre]. In this example we specified a name and attribute level. Don't panic it will be explained in details below
[pre][build prof=W/E air=8][Shock][Frenzy][Eviscerate][/build][/pre] =>
[build prof=W/E air=8][Shock][Frenzy][Eviscerate][/build]

Now let's have a closer look.. at what you can specify in the [pre][build][/pre] tag..
  • Professions: To specify the build is for a Warrior/Elementalist, just add prof=W/E. You can use any profession abbreviation: W, Mo, E, R, N, Me, Rt, A, D, P. As well as full profession names, e.g prof=Warrior/Elementalist. You don't have to specify a secondary profession.
    [pre][build prof=W/E][/build][/pre] = [pre][build prof=Warrior/Elementalist][/build][/pre] =>
    [build prof=W/E][/build]
  • Build's name: To specify a name, try this: name="Shock war" (note: the name must be encased in double brackets "")
    [pre][build prof=W/E name="Shock war"][/build][/pre] =>
    [build prof=W/E name="Shock war"][/build]
  • Attributes: Just write the attribute name without spaces, followed by "=", and the attribute level. Like this: expertise=9. You can use plus signs to specify additional levels due to a rune or helmet: axemastery=12+1+3.
    Tip: Case doesn't matter here and all but 3 attribute names can be reduced to their first three letters, e.g axe=12 and pro=4. Specifying a few more letters doesn't hurt though: prot=9 and blood=8. The three exceptions to this rule are: dead for Deadly Arts since dea is for Death Magic; comma for Command since com is for Communing; earthp for Earth Prayers since ear is for Earth Magic.
    [pre][build prof=W/E AxeMastery=12+1+3][/build][/pre] = [pre][build prof=W/E axe=12+1+3][/build][/pre] =>
    [build prof=W/E axe=12+1+3][/build]
  • Description: Adding information on a build (weapons, armor, how to play it) can be done like this: desc="Vamp axe." (note: the description must be encased in double brackets "")
    [pre][build prof=W/E desc="Vamp axe."][/build][/pre] =>
    [build prof=W/E desc="Vamp axe. Spike with Shock."][/build]
    Tip: you can write descriptions in multiple lines using {br} to separate lines. This tip works on build names as well.
  • Pickup: Now imagine you have a post with a full teambuild and you'd like to know which of these builds your forum users would prefer to play. Rather than go through the process of asking them, use the pickup feature and ask them to click on the builds (their profession icons) they want! And click again to remove themselves from a build.
    To make a build clickable add something like pickup="some unique text here". A unique text is needed because if you use the same id with two builds and a user clicks on one, he'll be added to both!
    [pre][build prof=W/E pickup="shock war"][/build][/pre]
    [pre][build prof=Mo/E pickup="prot monk v3"][/build][/pre] =>
    [build prof=W/E pickup="shock war"][/build]
    [build prof=Mo/E pickup="prot monk v3"][/build]
    Tip: for readability, you can reuse the pickup feature inside the same post but outside a build, and see who can play what without having to move your mouse over each build:
    [pre]Can play shock war: [pickup="shock war"]; can play prot monk: [pickup="prot monk v3"][/pre] =>
    Can play shock war: [pickup="shock war"]; can play prot monk: [pickup="prot monk v3"]
  • Box: You can create a nice box border to encase the build skills like in the game by adding "box" to the code:
    [pre][build prof=W/E box][Shock][Eviscerate][/build][/pre] =>
    [build prof=W/E box][Shock][Eviscerate][/build]
  • No skill: You may want to specify an empty skill slot. For that, use [pre][No Skill][/pre] => [No Skill]
  • No save: If you don't want a build to show the copy build icon just add "nosave" to the code.
    [pre][build prof=W/E nosave][/build][/pre] =>
    [build prof=W/E nosave][/build]
Here is a full example:
[pre][build prof=W/E name="Shock Axe" box axe=12+1+2 str=11+1 air=6 desc="Weapon #1: Vampiric Axe{br}Weapon #2: Penetrating Axe"][Frenzy][Rush][Disrupting Chop][Bull's Strike][Shock][Eviscerate][Executioner's Strike][Resurrection Signet][/build][/pre] =>
[build prof=W/E name="Shock Axe" box axe=12+1+2 str=11+1 air=6 desc="Weapon #1: Vampiric Axe{br}Weapon #2: Penetrating Axe"][Frenzy][Rush][Disrupting Chop][Bull's Strike][Shock][Eviscerate][Executioner's Strike][Resurrection Signet][/build]


Miscellaneous
  • Locally prevent gwBBCode parsing: Encase what you don't want to be parsed with tags [pre][pre][/pre] and [pre][/pre][/pre], e.g [pre][pre][EW][/pre][/pre] => [pre][EW][/pre]
    You'll find it useful when you want to mention a guild tag which happens to be a skill abbreviation, or when you want to explain gwBBCode syntax ^^
  • The pickup feature: As seen above in a build, pickup can be used to let users show they can play it. Syntax is self explanetory: List of fools: [pre][pickup="some unique text here"][/pre] => List of fools: [pickup="some unique text here"]
  • Export builds to GWFreaks: copy the code (click the Quote button to get it) to this page then click "convert" and import the downloaded file in GWFreaks
  • Random build: guess what.. [pre][random build][pre] =>[random build]
  • gwBBCode version: that one is more difficult to guess: [pre][gwbbcode version][pre] => [gwbbcode version]
  • Installing gwBBCode: If you want it on your forums it's free and open source so come get it at http://gwshack.us ^^
Inde is offline   Reply With Quote
Old Apr 11, 2008, 06:53 AM // 06:53   #2
Furnace Stoker
 
Dr Strangelove's Avatar
 
Join Date: Dec 2005
Location: Wasting away again in Margaritaville
Guild: [HOTR]
Default

Ow brain hurts.... looks nifty though. Does this mean the skill icons have been updated too?

[patient [email protected]]
[shock]

Nifty. Apparently there's no cap on how high the atts can go.

[build name="Tribble" prof=Ritualist/Necromancer desc="Western Bacon Cheeseburger" SpawningPower=10 Channeling=-1 AirMagic=90 ][frenzy][splinter weapon][ursan [email protected]][spiteful spirit][/build]
Dr Strangelove is offline   Reply With Quote
Old Apr 11, 2008, 06:59 AM // 06:59   #3
So Serious...
 
Fril Estelin's Avatar
 
Join Date: Jan 2007
Location: London
Guild: Nerfs Are [WHAK]
Profession: E/
Default

It's a very very nice addition, gwBBcode is awesomely done and there're a lot of features packed in it. Love the code-copying feature. GG Inde.

Last edited by Fril Estelin; Apr 11, 2008 at 07:01 AM // 07:01..
Fril Estelin is offline   Reply With Quote
Old Apr 11, 2008, 07:09 AM // 07:09   #4
Age
Hall Hero
 
Age's Avatar
 
Join Date: Jul 2005
Location: California Canada/BC
Guild: STG Administrator
Profession: Mo/
Default

I wonder if the old ones still work [skill]Word of Healing[/skill] and the new [word of healing] as well [word of [email protected]]

[disarm] [shell shock]

The old ones still works.

Last edited by Age; Apr 11, 2008 at 07:19 AM // 07:19..
Age is offline   Reply With Quote
Old Apr 11, 2008, 07:12 AM // 07:12   #5
Academy Page
 
Spider Pig's Avatar
 
Join Date: Oct 2007
Guild: Pirates of the Searing [YoHo]
Profession: E/
Default

Great addition, way better than the previous skill code.

[Meteor Shower@-50]
[Flame Djinn's [email protected]]
[build prof=E/Me FireMagic=100 EnergyStorage=100 box pickup="fire build"][Searing Flames][Savannah Heat][Rodgort's Invocation][Meteor Shower][/build]

Edit: Too bad it doesn't do the attribute thing for PvE Only skills too...
[Pain [email protected]]

Last edited by Spider Pig; Apr 12, 2008 at 07:56 AM // 07:56..
Spider Pig is offline   Reply With Quote
Old Apr 11, 2008, 07:14 AM // 07:14   #6
The 5th Celestial Boss
 
Cebe's Avatar
 
Join Date: Jul 2006
Location: Inverness, Scotland
Guild: The Cult of Scaro [WHO]
Profession: E/
Default

[Rending Touch]

[Glowing Ice]

Test .

YAY! Eye of the North skills at last!

Nice one Inde.
__________________
Knowledge is a process of piling up facts; wisdom lies in their simplification.
Cebe is offline   Reply With Quote
Old Apr 11, 2008, 07:47 AM // 07:47   #7
Forge Runner
 
Join Date: Jan 2006
Location: By the Luxon Scavenger
Guild: The Mentalists [THPK]
Profession: N/
Default

VERY nice one, gg guys. A big thanks
Turbobusa is offline   Reply With Quote
Old Apr 11, 2008, 09:19 AM // 09:19   #8
Ascalonian Squire
 
Loco roco's Avatar
 
Join Date: Feb 2008
Guild: Braveheart World Xi [any]
Profession: A/
Default

[death [email protected]]
testing if its idiot proof lol.
+353 dmg ftw

Edit: yep its idiot proof.
Loco roco is offline   Reply With Quote
Old Apr 11, 2008, 09:54 AM // 09:54   #9
Administrator
 
Marty Silverblade's Avatar
 
Join Date: Jun 2006
Default

Ah, EoTN and PvE skills, nice. Good to have the attributes too. I've got a guide to update then

[save yourselves]
[Save Yourselves]
["Save Yourselves"]
["Save Yourselves!" (Luxon)]

[Rodgort's [email protected]] XD!!!

[Dragon [email protected] 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999994999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 9999999999]

[random build]
[random build]
[random build]
[random build]
[random build]
[random build]
[random build]

EDIT: It's a bit annoying that the icons are so small, I'm not completely sure I'd want to drop the nice old big ones.

Last edited by Marty Silverblade; May 24, 2008 at 09:45 AM // 09:45..
Marty Silverblade is offline   Reply With Quote
Old Apr 11, 2008, 10:06 AM // 10:06   #10
Forge Runner
 
distilledwill's Avatar
 
Join Date: Sep 2006
Location: Blighty
Guild: The Legion of the Blue Blade
Profession: R/Mo
Default

LOVE!

Thanks to all who helped in implementing it! ["You Move Like A Dwarf!"]["Can't Touch This!"]
distilledwill is offline   Reply With Quote
Old Apr 11, 2008, 12:49 PM // 12:49   #11
Ancient Windbreaker
 
quickmonty's Avatar
 
Join Date: May 2005
Default

Nice addition.

We've been using this on our guild's website for some time.


Thanks.
quickmonty is offline   Reply With Quote
Old Apr 11, 2008, 12:58 PM // 12:58   #12
Desert Nomad
 
isamu kurosawa's Avatar
 
Join Date: Nov 2005
Location: United Kingdom
Profession: Me/
Default

seing as gwbbcode was psoted on this forum over a year ago it took you awhile XD
isamu kurosawa is offline   Reply With Quote
Old Apr 11, 2008, 01:17 PM // 13:17   #13
Site Contributor
 
Join Date: Dec 2004
Default

Isamu kurosawa, in case you didn't notice, we had been using a different bbcode up until recently.
Inde is offline   Reply With Quote
Old Apr 11, 2008, 01:26 PM // 13:26   #14
Lion's Arch Merchant
 
milkflopance's Avatar
 
Join Date: Dec 2006
Location: England
Guild: The Cult of Scaro [WHO]
Default

[[email protected] 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 9999999999999999999]

Infinite regeneration?


Thanks for implementing this btw.

Last edited by milkflopance; Apr 11, 2008 at 01:29 PM // 13:29..
milkflopance is offline   Reply With Quote
Old Apr 11, 2008, 03:34 PM // 15:34   #15
Ascalonian Squire
 
Join Date: Sep 2005
Default

Thank you Inde! And it feels really good to see how welcome our gwBBCode is ^^

lol @ the infinite regen
liu pi is offline   Reply With Quote
Old Apr 11, 2008, 03:54 PM // 15:54   #16
SBD
 
Join Date: Nov 2005
Default

Thanks to those who wrote the great code, there were some hiccups in the install but after looking at the errors thrown it made sense how to manually change it.
Rayzor is offline   Reply With Quote
Old Apr 11, 2008, 05:21 PM // 17:21   #17
Emo Goth Italics
 
Join Date: Sep 2006
Default

F'ing nice job!

[Crippling [email protected]]

Ftw!
Tyla is offline   Reply With Quote
Old Apr 11, 2008, 05:23 PM // 17:23   #18
Div
I like yumy food!
 
Div's Avatar
 
Join Date: Jan 2006
Location: Where I can eat yumy food
Guild: Dead Alley [dR]
Profession: Mo/R
Default

Sweeeeeeeeet. Glad to see the most common type of code to be implemented now
Div is offline   Reply With Quote
Old Apr 11, 2008, 09:17 PM // 21:17   #19
Academy Page
 
Join Date: Mar 2008
Location: GW
Default

[Healers boon]
this is cool!
Yellow D. Flash is offline   Reply With Quote
Old Apr 11, 2008, 09:38 PM // 21:38   #20
Wilds Pathfinder
 
1 up and 2 down's Avatar
 
Join Date: Mar 2007
Profession: Rt/
Default

[warmongers [email protected] 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 99999999999999999999999999999999999999999999999999 999999999999999999]

Hehehe, try getting a spell off now mr. monk!
1 up and 2 down is offline   Reply With Quote
Reply

Share This Forum!  
 
 
           

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gwBBCode - Add some style to your forums liu pi Community Works 107 Sep 30, 2011 05:14 AM // 05:14
Does GWbbCode work here? Matty023 Off-Topic & the Absurd 2 Dec 19, 2007 12:59 AM // 00:59


All times are GMT. The time now is 08:30 PM // 20:30.


Powered by: vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
jQuery(document).ready(checkAds()); function checkAds(){if (document.getElementById('adsense')!=undefined){document.write("_gaq.push(['_trackEvent', 'Adblock', 'Unblocked', 'false',,true]);");}else{document.write("